package com.xingying.travel.dao;



import com.xingying.travel.pojo.Comment;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CommentDao  extends JpaRepository<Comment,String>, JpaSpecificationExecutor<Comment>
{


    Page<Comment> findByArticleId(String articleId, Pageable pageable);
}
